<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta name="X-UA-Compatible" content="IE=edge"><meta name="author" content="imp"><title>SpringBoot的笔记 · imp的个人博客</title><meta name="description" content="基础篇
创建Spring Boot项目
使用Spring创建




使用Maven创建

之后的操作对照Spring创建，把相关配置补完。
配置文件
application.properties的配置



application.yml文件配置



yml层级表示更加清晰、更简洁。
yml配置"><meta name="keywords" content="imp,blog"><meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport"><meta content="yes" name="apple-mobile-web-app-capable"><meta content="black" name="apple-mobile-web-app-status-bar-style"><meta content="telephone=no" name="format-detection"><meta id="site_root_url" data="/"><meta id="default-theme" data="light"><meta name="renderer" content="webkit"><link rel="shortcut icon" type="image/x-icon" href="/images/icon.png"><link rel="stylesheet" href="/css/theme/light.css"><link rel="stylesheet" href="/css/style.css"><link rel="stylesheet" href="/css/blog_basic.css"><link rel="stylesheet" href="/css/font-awesome.min.css"><link rel="stylesheet" href="/css/insight.css"><link rel="stylesheet" href="/css/search.css"><link rel="alternate" type="application/atom+xml" title="ATOM 1.0" href="/atom.xml"><script src="/js/url_for.js"></script><script src="/js/friends-link-generator.js"></script><script src="/js/jquery.js"></script><script src="/js/jquery-migrate-1.2.1.min.js"></script><script src="/js/jquery.appear.js"></script><script src="/js/site.js"></script><script src="/js/router.js"></script><script src="/js/darkLightToggle.js"></script><script src="/js/add-bookmark.js"></script><meta name="generator" content="Hexo 6.3.0"></head><body><main-outlet><div class="page-top animated"><div class="nav"><li> <a href="/">首页</a></li><li> <a href="/archives">归档</a></li><li> <a href="/tags">标签</a></li><li> <a href="/about">关于</a></li><li> <a href="/links">友链</a></li></div><div class="information"><div class="nav_right_btn"><li><a class="fa fa-chevron-left" onclick="window.history.go(-1)"> </a></li><li><a class="fa fa-search" onclick="openWindow();"></a></li><li><a class="fa fa-sun-o" onclick="darkLightToggle();"></a></li></div><div class="avatar"><img src="/images/logo.webp"></div></div></div><div class="toc-mobile"><div class="toc-button"><span>目录</span></div><div class="toc-container in-page animated fadeInDown"><div class="toclist-container"><div class="tocmenu"><ol class="toclist"><li class="toclist-item toclist-level-1"><a class="toclist-link"><span class="toclist-text">基础篇</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E5%88%9B%E5%BB%BASpring-Boot%E9%A1%B9%E7%9B%AE"><span class="toclist-text">创建Spring Boot项目</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E4%BD%BF%E7%94%A8Spring%E5%88%9B%E5%BB%BA"><span class="toclist-text">使用Spring创建</span></a></li><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E4%BD%BF%E7%94%A8Maven%E5%88%9B%E5%BB%BA"><span class="toclist-text">使用Maven创建</span></a></li></ol></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6"><span class="toclist-text">配置文件</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#yml%E9%85%8D%E7%BD%AE%E4%BF%A1%E6%81%AF%E4%B9%A6%E5%86%99%E4%B8%8E%E8%8E%B7%E5%8F%96"><span class="toclist-text">yml配置信息书写与获取</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-4"><a class="toclist-link" href="#%E4%B9%A6%E5%86%99"><span class="toclist-text">书写</span></a></li><li class="toclist-item toclist-level-4"><a class="toclist-link" href="#%E8%8E%B7%E5%8F%96"><span class="toclist-text">获取</span></a></li></ol></li><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E6%95%B4%E5%90%88mybatis"><span class="toclist-text">整合mybatis</span></a></li></ol></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E8%87%AA%E5%AE%9A%E4%B9%89starter%EF%BC%88%E5%BE%85%E5%AD%A6%EF%BC%89"><span class="toclist-text">自定义starter（待学）</span></a></li></ol></li><li class="toclist-item toclist-level-1"><a class="toclist-link"><span class="toclist-text">实战篇</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E4%BD%BF%E7%94%A8SpringValidation%EF%BC%8C%E5%AF%B9%E6%B3%A8%E5%86%8C%E6%8E%A5%E5%8F%A3%E7%9A%84%E5%8F%82%E6%95%B0%E8%BF%9B%E8%A1%8C%E5%90%88%E6%B3%95%E6%80%A7%E6%A0%A1%E9%AA%8C"><span class="toclist-text">使用SpringValidation，对注册接口的参数进行合法性校验</span></a></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#JWT"><span class="toclist-text">JWT</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E7%AE%80%E4%BB%8B"><span class="toclist-text">简介</span></a></li><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#pox%E6%96%87%E4%BB%B6"><span class="toclist-text">pox文件</span></a></li></ol></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#ThreadLocal"><span class="toclist-text">ThreadLocal</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E6%8F%90%E4%BE%9B%E7%BA%BF%E7%A8%8B%E5%B1%80%E9%83%A8%E5%8F%98%E9%87%8F"><span class="toclist-text">提供线程局部变量</span></a></li><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7id"><span class="toclist-text">获取用户id</span></a></li></ol></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E4%BF%AE%E6%94%B9%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F"><span class="toclist-text">修改日期格式</span></a></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E6%9C%AC%E5%9C%B0%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0"><span class="toclist-text">本地文件上传</span></a></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#redis"><span class="toclist-text">redis</span></a></li></ol></li><li class="toclist-item toclist-level-1"><a class="toclist-link"><span class="toclist-text">注意事项</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#IDEA%E4%B8%AD-Override%E5%87%BA%E7%8E%B0Method-does-not-override-method-from-its-superclass%E9%94%99%E8%AF%AF"><span class="toclist-text">IDEA中@Override出现Method does not override method from its superclass错误</span></a></li></ol></li></ol></div></div></div></div><div class="sidebar animated"><div class="sidebar-top"><div class="logo-title"><div class="title"><img src="/images/avatar.png" style="width:220px;" alt="favicon"><h3 title=""><a href="/">imp的个人博客</a></h3><div class="description"><p>A simple blog</p></div></div><ul class="social-links"><li><a target="_blank" rel="noopener" href="https://github.com/Dimp07"><i class="fa fa-github"></i></a></li><li><a href="mailto:610634344@qq.com"><i class="fa fa-envelope"></i></a></li></ul></div><div class="toc-container in-sidebar animated fadeInDown"><details class="ltr" open><summary>目录</summary><div class="toclist-container"><div class="tocmenu"><ol class="toclist"><li class="toclist-item toclist-level-1"><a class="toclist-link"><span class="toclist-text">基础篇</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E5%88%9B%E5%BB%BASpring-Boot%E9%A1%B9%E7%9B%AE"><span class="toclist-text">创建Spring Boot项目</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E4%BD%BF%E7%94%A8Spring%E5%88%9B%E5%BB%BA"><span class="toclist-text">使用Spring创建</span></a></li><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E4%BD%BF%E7%94%A8Maven%E5%88%9B%E5%BB%BA"><span class="toclist-text">使用Maven创建</span></a></li></ol></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E9%85%8D%E7%BD%AE%E6%96%87%E4%BB%B6"><span class="toclist-text">配置文件</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#yml%E9%85%8D%E7%BD%AE%E4%BF%A1%E6%81%AF%E4%B9%A6%E5%86%99%E4%B8%8E%E8%8E%B7%E5%8F%96"><span class="toclist-text">yml配置信息书写与获取</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-4"><a class="toclist-link" href="#%E4%B9%A6%E5%86%99"><span class="toclist-text">书写</span></a></li><li class="toclist-item toclist-level-4"><a class="toclist-link" href="#%E8%8E%B7%E5%8F%96"><span class="toclist-text">获取</span></a></li></ol></li><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E6%95%B4%E5%90%88mybatis"><span class="toclist-text">整合mybatis</span></a></li></ol></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E8%87%AA%E5%AE%9A%E4%B9%89starter%EF%BC%88%E5%BE%85%E5%AD%A6%EF%BC%89"><span class="toclist-text">自定义starter（待学）</span></a></li></ol></li><li class="toclist-item toclist-level-1"><a class="toclist-link"><span class="toclist-text">实战篇</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E4%BD%BF%E7%94%A8SpringValidation%EF%BC%8C%E5%AF%B9%E6%B3%A8%E5%86%8C%E6%8E%A5%E5%8F%A3%E7%9A%84%E5%8F%82%E6%95%B0%E8%BF%9B%E8%A1%8C%E5%90%88%E6%B3%95%E6%80%A7%E6%A0%A1%E9%AA%8C"><span class="toclist-text">使用SpringValidation，对注册接口的参数进行合法性校验</span></a></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#JWT"><span class="toclist-text">JWT</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E7%AE%80%E4%BB%8B"><span class="toclist-text">简介</span></a></li><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#pox%E6%96%87%E4%BB%B6"><span class="toclist-text">pox文件</span></a></li></ol></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#ThreadLocal"><span class="toclist-text">ThreadLocal</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E6%8F%90%E4%BE%9B%E7%BA%BF%E7%A8%8B%E5%B1%80%E9%83%A8%E5%8F%98%E9%87%8F"><span class="toclist-text">提供线程局部变量</span></a></li><li class="toclist-item toclist-level-3"><a class="toclist-link" href="#%E8%8E%B7%E5%8F%96%E7%94%A8%E6%88%B7id"><span class="toclist-text">获取用户id</span></a></li></ol></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E4%BF%AE%E6%94%B9%E6%97%A5%E6%9C%9F%E6%A0%BC%E5%BC%8F"><span class="toclist-text">修改日期格式</span></a></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#%E6%9C%AC%E5%9C%B0%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0"><span class="toclist-text">本地文件上传</span></a></li><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#redis"><span class="toclist-text">redis</span></a></li></ol></li><li class="toclist-item toclist-level-1"><a class="toclist-link"><span class="toclist-text">注意事项</span></a><ol class="toclist-child"><li class="toclist-item toclist-level-2"><a class="toclist-link" href="#IDEA%E4%B8%AD-Override%E5%87%BA%E7%8E%B0Method-does-not-override-method-from-its-superclass%E9%94%99%E8%AF%AF"><span class="toclist-text">IDEA中@Override出现Method does not override method from its superclass错误</span></a></li></ol></li></ol></div></div></details></div></div><div class="footer"><div class="p"> <span>  </span><i class="fa fa-star"></i><span> imp</span></div><div class="by_farbox"><span>Powered by </span><a href="https://hexo.io/zh-cn/" target="_blank">Hexo </a><span> & </span><a href="https://github.com/Lhcfl/hexo-theme-anatolo" target="_blank">Anatolo </a></div><div class="beian"></div></div></div><div class="main animated fadeInDown"><div class="autopagerize_page_element"><div class="content"><div class="post-page"><div class="post animated"><div class="post-title"><h3><a>SpringBoot的笔记</a></h3></div><div class="post-content"><p><h1>基础篇</h1>
<h2 id="创建Spring-Boot项目">创建Spring Boot项目</h2>
<h3 id="使用Spring创建">使用Spring创建</h3>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212193108438.png" class="" title="image-20231212193108438">
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212193308080.png" class="" title="image-20231212193308080">
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212193639609.png" class="" title="image-20231212193639609">
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212193748700.png" class="" title="image-20231212193748700">
<h3 id="使用Maven创建">使用Maven创建</h3>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212194522211.png" class="" title="image-20231212194522211">
<p>之后的操作对照Spring创建，把相关配置补完。</p>
<h2 id="配置文件">配置文件</h2>
<p>application.properties的配置</p>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212195435261.png" class="" title="image-20231212195435261">
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212195447951.png" class="" title="image-20231212195447951">
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212195512309.png" class="" title="image-20231212195512309">
<p>application.yml文件配置</p>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212195847032.png" class="" title="image-20231212195847032">
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212195901312.png" class="" title="image-20231212195901312">
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212195916378.png" class="" title="image-20231212195916378">
<p>yml层级表示更加清晰、更简洁。</p>
<h3 id="yml配置信息书写与获取">yml配置信息书写与获取</h3>
<p>目标：为了降低耦合。</p>
<h4 id="书写">书写</h4>
<ul>
<li>值前边必须有空格，作为分隔符</li>
<li>使用空格作为缩进表示层级关系，相同的层级左侧对齐</li>
</ul>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212201027510.png" class="" title="image-20231212201027510">
<h4 id="获取">获取</h4>
<p>@Value(“${键名}”)</p>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212201259737.png" class="" title="image-20231212201259737">
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212201432351.png" class="" title="image-20231212201432351">
<h3 id="整合mybatis">整合mybatis</h3>
<p>pom配置</p>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212202436689.png" class="" title="image-20231212202436689">
<p>yml配置</p>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231212202538336.png" class="" title="image-20231212202538336">
<p>开启驼峰命名和下划线命名的自动转换</p>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231213204203036.png" class="" title="image-20231213204203036">
<h2 id="自定义starter（待学）">自定义starter（待学）</h2>
<h1>实战篇</h1>
<h2 id="使用SpringValidation，对注册接口的参数进行合法性校验">使用SpringValidation，对注册接口的参数进行合法性校验</h2>
<ol>
<li>引入Spring Validation 起步依赖</li>
<li>参数前面添加@Pattern注解</li>
<li>Controller类上添加@Validated注解</li>
</ol>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231213181413915.png" class="" title="image-20231213181413915">
<h2 id="JWT">JWT</h2>
<h3 id="简介">简介</h3>
<ul>
<li>
<p>全称：JSON WebToken</p>
</li>
<li>
<p>定义了一种简洁的、自包含的格式，用于通信双方以json数据格式安全的传输信息。</p>
</li>
<li>
<p>组成：</p>
</li>
</ul>
<p>第一部分：Header(头），记录令牌类型、签名算法等。例如：{“alg”:“HS256”,“type”:“JWT”}</p>
<p>第二部分：Payload(有效载荷），携带一些自定义信息、默认信息等。例如：{“id”:“1”,“username”:“Tom”}</p>
<p>第三部分：Signature(签名），防止Token被篡改、确保安全性。将header、payload，并加入指定秘钥，通过指定签名算法计算而来。</p>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231213191522373.png" class="" title="image-20231213191522373">
<h3 id="pox文件">pox文件</h3>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231213192102799.png" class="" title="image-20231213192102799">
<h2 id="ThreadLocal">ThreadLocal</h2>
<h3 id="提供线程局部变量">提供线程局部变量</h3>
<ul>
<li>用来存取数据:set()/get()</li>
<li>使用ThreadLocal存储的数据,线程安全</li>
<li>用完记得调用remove方法释放</li>
</ul>
<h3 id="获取用户id">获取用户id</h3>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231214132952304.png" class="" title="image-20231214132952304">
<h2 id="修改日期格式">修改日期格式</h2>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231214143122178.png" class="" title="image-20231214143122178">
<h2 id="本地文件上传">本地文件上传</h2>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231214151433275.png" class="" title="image-20231214151433275">
<h2 id="redis">redis</h2>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/image-20231214154918872.png" class="" title="image-20231214154918872">
<h1>注意事项</h1>
<h2 id="IDEA中-Override出现Method-does-not-override-method-from-its-superclass错误">IDEA中@Override出现Method does not override method from its superclass错误</h2>
<p>笔者在学习springboot的时候，遇到该问题以及其解决办法：</p>
<figure class="highlight java"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br></pre></td><td class="code"><pre><span class="line"><span class="meta">@Override</span></span><br><span class="line"><span class="keyword">public</span> <span class="keyword">void</span> <span class="title function_">addView</span><span class="params">(ViewControllerRegistry registry)</span>&#123;</span><br><span class="line">    registry.addViewController(<span class="string">&quot;/&quot;</span>).setViewName(<span class="string">&quot;index&quot;</span>);</span><br><span class="line">    registry.addViewController(<span class="string">&quot;/index.html&quot;</span>).setViewName(<span class="string">&quot;index&quot;</span>);</span><br><span class="line">&#125;</span><br></pre></td></tr></table></figure>
<p>就出现以下的报错：</p>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/0e1a679a08f6dd57b765ec5f81c4ac63.png" class="" title="img">
<p>一开始找了网上相关的解决办法，有表示是JDK版本的问题，我自行检查之后，表示没有毛病；</p>
<p>还有说是忘记打implements 的问题，我同样没有问题。</p>
<p>后来我发现，@override不是自己手打，哎，作为新手确实脑子不是很好使：</p>
<p>其正确的使用方法应该是：</p>
<p>1、右键点击空白位置，之后出现下方这个，点击红框：</p>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/534fa786d5bd5b741373a84c813fa9e3.png" class="" title="img">
<p>2、点击“Override Methods”</p>
<img src="/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/905877e24ed45eebb432501a3dbee552.png" class="" title="img">
<p>3、自行选择想要重写的方法</p>
<p><img src="../hexo/blog/sourSpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/5934b616f6ba57175469ed3b47db5ed5.png" alt=""></p>
</p></div><div class="post-footer"><div class="meta"><div class="info"><i class="fa fa-sun-o"></i><span class="date">2023-12-20</span><i class="fa fa-tag"></i><a class="tag" href="/tags/SpringBoot/" title="SpringBoot">SpringBoot </a><span class="leancloud_visitors"></span><span>大约671个字, 2分钟14秒读完</span></div></div></div></div><div class="share"><div class="evernote"><a class="fa fa-bookmark" href="" onclick="javascript:join_favorite()" ref="sidebar"></a></div><div class="weibo"><a class="fa fa-weibo" href="javascript:void((function(s,d,e){try{}catch(e){}var f='http://service.weibo.com/share/share.php?',u=d.location.href,p=['url=',e(u),'&amp;title=',e(d.title),'&amp;appkey=2924220432'].join('');function a(){if(!window.open([f,p].join(''),'mb',['toolbar=0,status=0,resizable=1,width=620,height=450,left=',(s.width-620)/2,',top=',(s.height-450)/2].join('')))u.href=[f,p].join('');};if(/Firefox/.test(navigator.userAgent)){setTimeout(a,0)}else{a()}})(screen,document,encodeURIComponent));"></a></div><div class="twitter"><a class="fa fa-twitter" target="_blank" rel="noopener" href="http://twitter.com/intent/tweet?text=%E5%88%86%E4%BA%AB%E6%96%87%E7%AB%A0%EF%BC%9A%0A%0Aimp%E7%9A%84%E4%B8%AA%E4%BA%BA%E5%8D%9A%E5%AE%A2%20%C2%B7%20SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0%0Ahttp://example.com/2023/12/20/SpringBoot%E7%9A%84%E7%AC%94%E8%AE%B0/%0A"></a></div></div><div class="pagination"><ul class="clearfix"><li class="pre pagbuttons"><a class="btn" role="navigation" href="/2023/12/20/Vue%E7%AC%94%E8%AE%B0/" title="Vue笔记">上一篇</a></li><li class="next pagbuttons"><a class="btn" role="navigation" href="/2023/12/20/Redis%E7%AC%94%E8%AE%B0/" title="Redis笔记">下一篇</a></li></ul></div><script src="/js/visitors.js"></script></div></div></div></div></main-outlet><script>(function(window){var INSIGHT_CONFIG={TRANSLATION:{POSTS:"文章",PAGES:"页面",CATEGORIES:"分类",TAGS:"标签",UNTITLED:"(无标题)",},CONTENT_URL:"/content.json",};window.INSIGHT_CONFIG=INSIGHT_CONFIG})(window);</script><script src="/js/insight.js" defer></script><div class="searchbox ins-search"><div class="searchbox-container ins-search-container"><div class="searchbox-input-wrapper"><input class="searchbox-input ins-search-input" type="text" placeholder="想要查找什么..."><span class="searchbox-close"><a class="fa fa-times-circle" onclick="closeWindow();"></a></span></div><div class="searchbox-result-wrapper ins-section-wrapper"><div class="ins-section-container"><p>Seraching...</p></div></div></div></div></body></html>